﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Manage/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<RuiJing.Web.Areas.Manage.Models.ProductModels.ProductTypeEditModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	修改分类
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div>
<% Html.BeginForm("edittype", "product"); %>
    <fieldset class="editset">
        <legend>修改分类</legend>
        <%=Html.ActionLink(">>返回", "type", new { id = Model.ParentID }, new { @class="a2" })%>
        <%=Html.ValidationMessage("EditError") %>
        <ul class="editpanel">
            <li class="edititem">
                <label for="Name_Ch" class="label">中文名称：</label>
                <div class="edititemcontent">
                    <%=Html.TextBoxFor(p=>p.Name_Ch) %>
                    <%=Html.ValidationMessageFor(p=>p.Name_Ch) %>
                </div>
            </li>
            <li class="edititem">
                <label for="Name_En" class="label">英文名称：</label>
                <div class="edititemcontent">
                    <%=Html.TextBoxFor(p=>p.Name_En) %>
                    <%=Html.ValidationMessageFor(p=>p.Name_En) %>
                </div>
            </li>
            <li class="edititem btnpanel">
                <input type="submit" value="保存" />
            </li>
        </ul>
    </fieldset>
    <%=Html.HiddenFor(p=>p.ID) %>
    <%=Html.HiddenFor(p=>p.ParentID) %>
<% Html.EndForm(); %>
</div>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="StypeAndScript" runat="server">
</asp:Content>
